
#include "binary.h"


int main()
{
	//int arr[] = { A B D # # E # H # # C F # # G # #}
	int arr[] =   { 1,3,6,0,0,8,0,6,0,0,2,3,0,0,8,0,0 };
	int size = sizeof(arr) / sizeof(arr[0]);
	BinaryNode<int>* bt = nullptr;
	int pos = 0;
	bt = bt->BinaryCreate(arr,size,&pos);
	
	bt->BinaryTreePrevOrder();

	cout << "hello binary tree !!!";
	return 0;
}